package com.think.teaching.service;

import com.think.teaching.model.ExamPaper;
import com.think.teaching.model.Question;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 试卷 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface ExamPaperService extends IService<ExamPaper> {
	
	ExamPaper AddExamPaper(ExamPaper examPaper);

	Boolean DeleteExamPaper(Integer id) throws Exception;

	ExamPaper UpdateExamPaper(ExamPaper examPaper);

	ExamPaper GetExamPaper(Integer id);
	ExamPaper SetExamPaperState(Integer id, Integer state);

}
